package org.demo.patten.command;

/**
 * @author zhuj
 * @date 2025/3/29
 * @apiNote
 */
public class TurnOffCommand  implements Command{
    private Television tv;
    public TurnOffCommand(Television tv) {
        this.tv = tv;
    }
    @Override
    public void execute() {
        tv.turnOff();
    }
}
